import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index'
import pinia from './stores'
import Pagination from '@/components/Pagination/index.vue'
import WLoading from '@/components/WLoading/index.vue'
import { hover, toDetail } from '@/directives/index'
import './styles/reset.css'
import './styles/index.css'
const app = createApp(App)
app.component('Pagination', Pagination)
app.component('WLoading', WLoading)
app.directive('hover', hover)
app.directive('to-detail', toDetail)
app.use(pinia)
app.use(router)
app.mount('#app')
